package com.zxt.controller;

import com.zxt.security.annotation.Anonymous;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


/**
 * @author zxt
 */
@Slf4j
@RequestMapping("/test/test/")
@RestController
@AllArgsConstructor
@Api(tags = "测试接口")
public class TestController {

    @GetMapping("/query")
    @ApiOperation(value = "用户测试接口", notes = "用户测试接口")
    private String query() {
        int i = 1 / 0;
        return "success";
    }

}
